<script>
</script>
<script id="orderTpl" type="text/html">
	{{each data as order}}
		<tr>
			<td><a href="#" onclick="view({{order.id}})" class="orange" >{{order.orderNo}}</a></td>
			<td>{{order.orderTime}}</td>
			<td>{{order.accept}}</td>
			<td>{{order.payType==1?"支付宝":"货到付款"}}</td>
			<td>{{order.money}}</td>
			<td>{{order.status.text}}</td>
		<tr>
     {{/each}}
</script>
<script id="pagesTpl" type="text/html">
	<a href='javascript:void(0)' id="firstPage">首页</a>
	 {{each totalPages as p}}
		<a  href='javascript:void(0)' {{if p==currPage}} class="current_page" {{/if}} onclick="goPage({{p}})">{{p}}</a>
     {{/each}}
	<a href='javascript:void(0)' id="lastPage">尾页</a>
   <span>当前第{{currPage}}页/共{{totalPages.length}}页</span>
</script>
<div class="uc_title m_10">
	<label class="current"><span>我的订单</span></label>
</div>
<div class="box m_10">
	<table class="list_table" width="100%" cellpadding="0" cellspacing="0">
		<col width="250px" />
		<col width="140px" />
		<thead>
			<tr>
				<th>订单编号</th>
				<th>下单日期</th>
				<th>收货人</th>
				<th>支付方式</th>
				<th>总金额</th>
				<th>订单状态</th>
			</tr>
		</thead>
		<tbody id="orderData">
		</tbody>
		<tfoot>
			<tr>
				<td colspan="6" class="t_l">
					<div class='pages_bar' id='pages_bar'>
						
					</div>
				</td>
			</tr>
		</tfoot>
	</table>
</div>